Skip to content

feat(server): add versioned REST API for Extension clients - #165

Draft
bwl21 wants to merge 13 commits into
eqrm:mainfrom
bwl21:feat/164-versioned-rest-api
Draft

bwl21 wants to merge 13 commits into
eqrm:mainfrom
bwl21:feat/164-versioned-rest-api

Conversation

@bwl21

@bwl21 bwl21 commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Closes #164

Merge order and gate

This is step 3 of the intended issue order: #143 → #157 → #164.

The source branches live in the bwl21/ct-cli fork. GitHub does not support cross-fork stacked PR bases, so this PR technically targets main; the draft state is the explicit merge-order gate.

What #164 adds

  • one transport-neutral operation catalog for Commander, REST routing, capability discovery and OpenAPI
  • versioned /api/v1 server with pairing, scoped sessions, workspace containment, idempotency, progress and structured errors
  • immutable process-input snapshots and trusted local generators
  • generated OpenAPI plus Scalar at /api/docs
  • REST projections for feat: support read-only external references across ct projects #143 operations: use, unuse, unadopt, and ownership check
  • security, parity, application and HTTP tests plus operator documentation

Verification

  • npm run typecheck
  • npm run lint
  • npm run build
  • npm test — 109 files passed, 2 skipped; 1166 tests passed, 5 skipped
  • node .github/scripts/docs-staleness.mjs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(server): versioned REST API for ChurchTools Extension clients

1 participant